package cn.newstrength.qiyiming.step;

import cn.newstrength.wtdf.plugin.util.SpringUtils;
import cn.newstrength.wtdf.web.processor.Operation;
import cn.newstrength.wtdf.web.processor.OperationStep;

import java.util.Map;

/**
 * Hello world ^_^
 * @author Xd
 *
 */
public class HelloWorldStep implements OperationStep {

	@Override
	public int excute(Operation oper) {
		oper.setTranStepSuccResult(SpringUtils.getMessage("hello.world"));
		return 0;
	}

	@Override
	public int init(Map<String, String> arg0) {
		return 0;
	}
}
